package com.uphone.magicleafteacher.pro.activity.welcome;

import com.uphone.magicleafteacher.base.mvp.BasePresenter;
import com.uphone.magicleafteacher.base.mvp.BaseView;
import com.uphone.magicleafteacher.vo.LoginBean;

import okhttp3.ResponseBody;

/**
 * Created by hzy on 2019/1/18
 * WelcomeContract
 *
 * @author Administrator
 * */
public interface WelcomeContract<T> {


    interface View extends BaseView {
        void updateView(ResponseBody responseBean, int status);

        void updateView(Object t);
    }

    interface Presenter extends BasePresenter<View> {
        void postLogin(String username, String password);
    }

}
